import { Module } from '@nestjs/common';
import { GetRequestParamsService } from './get-request-params.service';
import { GetRequestParamsController } from './get-request-params.controller';
import { LifeCycleModule } from 'src/modules/life-cycle/life-cycle.module';

@Module({
  imports: [LifeCycleModule],
  controllers: [GetRequestParamsController],
  providers: [GetRequestParamsService],
  // 导出 service 后, 可在其他模块使用构造或属性注入调用方法
  exports: [GetRequestParamsService],
})
export class GetRequestParamsModule {}
